package com.rran.study.designpattern.factory.factorymethod.simplefactory;


/**
 * @author yy
 * @Type SimpleFactoryTest.java
 * @Desc 简单工厂模式（严格上讲不算创建型设计模式）
 * @date 2020/7/22 15:58
 */
public class SimpleFactoryTest {

    public static void main(String[] args) {
        Food food = SimpleFactory.getFood("Meal");
        food.eat();
    }
}
